package cn.hit.tianqiao.service.impl;

import cn.hit.tianqiao.dao.EventDao;
import cn.hit.tianqiao.dao.impl.EventDaoImpl;
import cn.hit.tianqiao.domain.Event;
import cn.hit.tianqiao.service.EventService;

import java.util.List;

public class EventServiceImpl implements EventService {
    EventDao dao = new EventDaoImpl();

    @Override
    public List<Event> findEvents() {
        return dao.findAll();
    }
}
